package day10;

public class zuoye3 {
	public static void main(String[] args) {
		String str = "this is my homework! I must finish it!";
	
		String[] array = str.split(" ");
		System.out.println(array.length);
	}

}
